package com.jd.jobkeeper.server.data.pesistence;

import com.jd.jobkeeper.server.data.entity.JobInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JobInfoRepository extends JpaRepository<JobInfo, Long> {

    List<JobInfo> findAllByNamespaceCode(String namespaceCode);

}
